Skip to content

Feat/uth 236 get all parking space listings from one core#35

Merged
mittistormen merged 3 commits intoepic/uth-227-publicera-alla-bilplatser-fran-onecorefrom
feat/UTH-236-Get-All-Parking-Space-Listings-From-OneCore
Sep 9, 2025
Merged

Feat/uth 236 get all parking space listings from one core#35
mittistormen merged 3 commits intoepic/uth-227-publicera-alla-bilplatser-fran-onecorefrom
feat/UTH-236-Get-All-Parking-Space-Listings-From-OneCore

Conversation

@mittistormen
Copy link
Contributor

@mittistormen mittistormen commented Sep 8, 2025

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
@linear
Copy link

linear bot commented Sep 8, 2025

@@ -0,0 +1,20 @@
import { Tenant } from 'libs/types/dist'

export const isTenantAllowedToRentAParkingSpaceInThisResidentialArea = (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👏

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ja!

})
const query = querySchema.safeParse(ctx.query)

logger.info({ query }, 'Parsed query parameters for GET /listings')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeees!

Copy link
Contributor

@lalmqvist lalmqvist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! 👯

@mittistormen mittistormen merged commit d2bb0ac into epic/uth-227-publicera-alla-bilplatser-fran-onecore Sep 9, 2025
1 check passed
@mittistormen mittistormen deleted the feat/UTH-236-Get-All-Parking-Space-Listings-From-OneCore branch September 9, 2025 11:12
lalmqvist pushed a commit that referenced this pull request Sep 9, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
svjson pushed a commit that referenced this pull request Sep 19, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
svjson pushed a commit that referenced this pull request Sep 19, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
svjson pushed a commit that referenced this pull request Sep 19, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
lalmqvist pushed a commit that referenced this pull request Sep 29, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
lalmqvist pushed a commit that referenced this pull request Oct 21, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
lalmqvist pushed a commit that referenced this pull request Oct 21, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen added a commit that referenced this pull request Nov 26, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen added a commit that referenced this pull request Nov 26, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen added a commit that referenced this pull request Nov 26, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen added a commit that referenced this pull request Nov 26, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore

Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen added a commit that referenced this pull request Dec 1, 2025
* add endpoint to get vacant parkingspaces
* show vacant parkinspaces on a new page
* create endpoint and method to create multiple listings.
* create endpoint in core
* add endpoint and logic to portal backend
* refactor UI and publish vacant parkingspaces
* handle potential empty PublishedTo-date for NON_SCORED listings
* handle re-render errors
* handle publishing of large batches
* rename kötyp to Uthyrningsmetod
* filter out offered as well as ready for offer listings from vacant parking spaces
* disable creation of application for non scored listings
* Don't render applicants or offers tabs on details page for NON_SCORED rental rules
* refactor parking-spaces endpoints in core and leasing service to take body param list of rentalobjectIds and return rentalobjects.
* parallelize vacant-parkingspace request
* remove all xpand-sync code in internal-portal be and fe and core
* remove xpand-internal-parkingspaces-sync from lease-service
* Feat/uth 236 get all parking space listings from one core (#35)
* Feat: UTH-236 Get All Parking Space Listings From OneCore
Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
* Feat:UTH-237 Get Published Lisings by RentalObjectCode (#42)
To be able to show the parking space detail page on mimer.nu we need to be able to retrieve published listings by RentalObjectCode.
* filter on RentalObjectCode has been added to GET /listings in both core and lesing
* Feat:UTH-247-Rental-Object-Search
* UTH-238: Unpublish listing (#38)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Linda Almqvist <linda.almqvist@prototyp.se>
Co-authored-by: Sven Johansson <sven.johansson@iteam.se>
Co-authored-by: Andreas Lundqvist <31646645+momentiris@users.noreply.github.com>
Co-authored-by: Linda Almqvist <34321514+lalmqvist@users.noreply.github.com>
Co-authored-by: lindblomdavid <65215239+lindblomdavid@users.noreply.github.com>
mittistormen added a commit that referenced this pull request Dec 1, 2025
* add endpoint to get vacant parkingspaces
* show vacant parkinspaces on a new page
* create endpoint and method to create multiple listings.
* create endpoint in core
* add endpoint and logic to portal backend
* refactor UI and publish vacant parkingspaces
* handle potential empty PublishedTo-date for NON_SCORED listings
* handle re-render errors
* handle publishing of large batches
* rename kötyp to Uthyrningsmetod
* filter out offered as well as ready for offer listings from vacant parking spaces
* disable creation of application for non scored listings
* Don't render applicants or offers tabs on details page for NON_SCORED rental rules
* refactor parking-spaces endpoints in core and leasing service to take body param list of rentalobjectIds and return rentalobjects.
* parallelize vacant-parkingspace request
* remove all xpand-sync code in internal-portal be and fe and core
* remove xpand-internal-parkingspaces-sync from lease-service
* Feat/uth 236 get all parking space listings from one core (#35)
* Feat: UTH-236 Get All Parking Space Listings From OneCore
Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
* Feat:UTH-237 Get Published Lisings by RentalObjectCode (#42)
To be able to show the parking space detail page on mimer.nu we need to be able to retrieve published listings by RentalObjectCode.
* filter on RentalObjectCode has been added to GET /listings in both core and lesing
* Feat:UTH-247-Rental-Object-Search
* UTH-238: Unpublish listing (#38)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Linda Almqvist <linda.almqvist@prototyp.se>
Co-authored-by: Sven Johansson <sven.johansson@iteam.se>
Co-authored-by: Andreas Lundqvist <31646645+momentiris@users.noreply.github.com>
Co-authored-by: Linda Almqvist <34321514+lalmqvist@users.noreply.github.com>
Co-authored-by: lindblomdavid <65215239+lindblomdavid@users.noreply.github.com>
osirisguitar pushed a commit that referenced this pull request Dec 9, 2025
* add endpoint to get vacant parkingspaces
* show vacant parkinspaces on a new page
* create endpoint and method to create multiple listings.
* create endpoint in core
* add endpoint and logic to portal backend
* refactor UI and publish vacant parkingspaces
* handle potential empty PublishedTo-date for NON_SCORED listings
* handle re-render errors
* handle publishing of large batches
* rename kötyp to Uthyrningsmetod
* filter out offered as well as ready for offer listings from vacant parking spaces
* disable creation of application for non scored listings
* Don't render applicants or offers tabs on details page for NON_SCORED rental rules
* refactor parking-spaces endpoints in core and leasing service to take body param list of rentalobjectIds and return rentalobjects.
* parallelize vacant-parkingspace request
* remove all xpand-sync code in internal-portal be and fe and core
* remove xpand-internal-parkingspaces-sync from lease-service
* Feat/uth 236 get all parking space listings from one core (#35)
* Feat: UTH-236 Get All Parking Space Listings From OneCore
Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
* Feat:UTH-237 Get Published Lisings by RentalObjectCode (#42)
To be able to show the parking space detail page on mimer.nu we need to be able to retrieve published listings by RentalObjectCode.
* filter on RentalObjectCode has been added to GET /listings in both core and lesing
* Feat:UTH-247-Rental-Object-Search
* UTH-238: Unpublish listing (#38)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Linda Almqvist <linda.almqvist@prototyp.se>
Co-authored-by: Sven Johansson <sven.johansson@iteam.se>
Co-authored-by: Andreas Lundqvist <31646645+momentiris@users.noreply.github.com>
Co-authored-by: Linda Almqvist <34321514+lalmqvist@users.noreply.github.com>
Co-authored-by: lindblomdavid <65215239+lindblomdavid@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants